package com.paw.portal.response.dto;

import java.io.Serializable;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 角色和菜单关联表
 * </p>
 *
 * @author Rubble
 * @since 2021-08-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "SysRoleMenuResponseDto对象", description = "角色和菜单关联表响应对象")
public class SysRoleMenuResponseDto implements Serializable {

  private static final long serialVersionUID = 1L;

  @ApiModelProperty(value = "主键")
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;


  @ApiModelProperty(value = "角色ID")
  @JsonSerialize(using = ToStringSerializer.class)
  private Long roleId;


  @ApiModelProperty(value = "菜单ID")
  @JsonSerialize(using = ToStringSerializer.class)
  private Long menuId;

}
